/*
 *
 *  * Copyright (c) 2016. For Intelligent Group.
 *
 */

package com.intelligent.ispc.event;

/**
 * Created by Peter on 2016/9/6.
 */
public class TaskProcessChangeEvent {
    private String key;
    private int present;
    private String log;

    /**
     * Constructor.
     *
     * @param key     task key.
     * @param present process present.
     * @param log     logs.
     */
    public TaskProcessChangeEvent(String key, int present, String log) {
        this.key = key;
        this.present = present;
        this.log = log;
    }

    public int getPresent() {
        return present;
    }

    public void setPresent(int present) {
        this.present = present;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
